<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>找回密码</title>
    <link rel="stylesheet" href="/css/back_pw.css">
    <link rel="stylesheet" href="/css/common.css?v=2018-3-15 15:48:49">
    <script src="/js/jquery.min.js"></script>
</head>
<body>

<!-- 弹出层 -->

<div id="M_layer_box" style="display:none"></div>
<div class="mainRight s-m-box">
    <div class="title">忘记密码</div>

    <div class="w740">

        <div class="step step4 clearfix">
            <ul class="clearfix">
                <li class="active"><span>1</span>
                    <p>验证身份</p><b></b></li>
                <!-- 添加active就有下一步的效果 -->
                <li class="active"><span>2</span>
                    <p>重置密码</p><b></b></li>
                <li class="active"><span>3</span>
                    <p>完成</p><b></b></li>
            </ul>
        </div><!--/step-->

        <div class="tableForm">
            <table width="300">
                <tbody>
                <tr>
                    <td class="fz16">找回密码成功！！！<span id="lefttime">3</span>秒后自动跳转到<a href="/login/index" style="text-decoration: underline;color: #ffa000">登录页</a>
                    </td>
                </tr>

                </tbody>
            </table>
        </div>


    </div><!--/w640-->


</div><!--/w640-->
<!--/mainRight-->

<script>
   /* setTimeout(function(){
        window.location = '/login/index';
    },3000);*/
    var lefttime=$('#lefttime');
    var total = 5;
    lefttime.html('5');
    var t = setInterval(function () {
        total--;
        lefttime.html(total);

        if (total == 0) {
            clearInterval(t);
            window.location = '/login/index';
        }
    }, 1000);

</script>

</body>
</html>